﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="group_edit.aspx.cs" Inherits="AnyOffice.general.person_info.group_edit" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title></title>
		
		<script src="/aspnet_client/core/function.js"></script>
		<script language="JavaScript">
function CheckForm()
{	
   if(document.Form1.txtGroupName.value=="")
   { 
	 alert("用户组名称不能为空！");
	 document.Form1.txtGroupName.focus();
     return (false);
   }
   
   if(document.Form1.txtGroupNo.value=="")
   { 
     alert("排序号不能为空！");
     document.Form1.txtGroupNo.focus();
     return (false);
   }
}

function delete_group(group_id)
{
 msg='确认要删除该项用户组么？';
 if(window.confirm(msg))
 {
  URL="group_delete.aspx?group_id=" + group_id;
  window.location=URL;
 }
}
		</script>
	</HEAD>
	<body class="bodycolor" topMargin="5">
		<form id="Form1" method="post" runat="server">
         <div class="main_div">
			<asp:Panel id="pnlMain" runat="server">
				<table class="small" cellSpacing="0" cellPadding="3" width="100%" border="0">
					<tr>
						<td class="Big"><IMG src="/images/notify_open.gif" align="absMiddle"><span class="big3"> 编辑用户组</span><br>
						</td>
					</tr>
				</table>
				<table width="500" cellSpacing="0" cellPadding="0" border="0" class="tab_pub" align="center">
					<TBODY>
						<tr>
							<td class="TableData" noWrap>用户组名称：</td>
							<td class="ta_txt" noWrap><asp:textbox id="txtGroupName" runat="server" MaxLength="50" Columns="30" CssClass="BigInput"></asp:textbox></td>
						<tr>
							<td class="TableData" noWrap>排序号：</td>
							<td class="ta_txt" noWrap><asp:textbox id="txtGroupNo" runat="server" MaxLength="20" Columns="20" CssClass="BigInput"></asp:textbox></td>
						</tr>
						<tr>
							<td class="bnt_con" noWrap align="center" colSpan="2">
								<input class="bnt01" style="width:60px; display:inline-table;" onClick="return CheckForm();" type="submit" value="确 定" name="button">
								<input class="bnt01" style="width:60px; display:inline-table;" title="返 回" onClick="location='group.aspx'" type="button" value="返 回">
							</td>
						</tr>
					</TBODY>
				</table>
				<br>
			</asp:Panel>
			<asp:Literal id="litMessage" runat="server"></asp:Literal>
            </div>
		</form>
	</body>
</HTML>
